﻿using System;
using System.CodeDom.Compiler;
using System.Reflection;
using Prism.Mvvm;
using Syncfusion.SfDataGrid.XForms;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
using Xamarin.Forms.Xaml;
using Xamarin.Forms.Xaml.Internals;

namespace AutoR.Views
{
	// Token: 0x02000010 RID: 16
	[XamlFilePath("Views\\Statistics.xaml")]
	public class Statistics : Xamarin.Forms.TabbedPage
	{
		// Token: 0x06000057 RID: 87 RVA: 0x00006056 File Offset: 0x00004256
		public Statistics()
		{
			this.InitializeComponent();
			base.On<Android>().SetIsSwipePagingEnabled(false);
		}

		// Token: 0x06000058 RID: 88 RVA: 0x00006074 File Offset: 0x00004274
		[GeneratedCode("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
		private void InitializeComponent()
		{
			if (ResourceLoader.ResourceProvider != null && ResourceLoader.ResourceProvider(typeof(Statistics).GetTypeInfo().Assembly.GetName(), "Views/Statistics.xaml") != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			if (XamlLoader.XamlFileProvider != null && XamlLoader.XamlFileProvider(base.GetType()) != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			BindingExtension bindingExtension = new BindingExtension();
			GridTextColumn gridTextColumn = new GridTextColumn();
			GridTextColumn gridTextColumn2 = new GridTextColumn();
			GridTextColumn gridTextColumn3 = new GridTextColumn();
			GridTextColumn gridTextColumn4 = new GridTextColumn();
			SfDataGrid sfDataGrid = new SfDataGrid();
			StackLayout stackLayout = new StackLayout();
			ContentPage contentPage = new ContentPage();
			BindingExtension bindingExtension2 = new BindingExtension();
			GridTextColumn gridTextColumn5 = new GridTextColumn();
			GridTextColumn gridTextColumn6 = new GridTextColumn();
			SfDataGrid sfDataGrid2 = new SfDataGrid();
			StackLayout stackLayout2 = new StackLayout();
			ContentPage contentPage2 = new ContentPage();
			BindingExtension bindingExtension3 = new BindingExtension();
			GridTextColumn gridTextColumn7 = new GridTextColumn();
			GridTextColumn gridTextColumn8 = new GridTextColumn();
			SfDataGrid sfDataGrid3 = new SfDataGrid();
			StackLayout stackLayout3 = new StackLayout();
			ContentPage contentPage3 = new ContentPage();
			BindingExtension bindingExtension4 = new BindingExtension();
			GridTextColumn gridTextColumn9 = new GridTextColumn();
			GridTextColumn gridTextColumn10 = new GridTextColumn();
			GridTextColumn gridTextColumn11 = new GridTextColumn();
			GridTextColumn gridTextColumn12 = new GridTextColumn();
			SfDataGrid sfDataGrid4 = new SfDataGrid();
			StackLayout stackLayout4 = new StackLayout();
			ContentPage contentPage4 = new ContentPage();
			BindingExtension bindingExtension5 = new BindingExtension();
			GridTextColumn gridTextColumn13 = new GridTextColumn();
			GridTextColumn gridTextColumn14 = new GridTextColumn();
			GridTextColumn gridTextColumn15 = new GridTextColumn();
			GridTextColumn gridTextColumn16 = new GridTextColumn();
			SfDataGrid sfDataGrid5 = new SfDataGrid();
			StackLayout stackLayout5 = new StackLayout();
			ContentPage contentPage5 = new ContentPage();
			BindingExtension bindingExtension6 = new BindingExtension();
			GridTextColumn gridTextColumn17 = new GridTextColumn();
			GridTextColumn gridTextColumn18 = new GridTextColumn();
			GridTextColumn gridTextColumn19 = new GridTextColumn();
			GridTextColumn gridTextColumn20 = new GridTextColumn();
			GridTextColumn gridTextColumn21 = new GridTextColumn();
			GridTextColumn gridTextColumn22 = new GridTextColumn();
			GridTextColumn gridTextColumn23 = new GridTextColumn();
			GridTextColumn gridTextColumn24 = new GridTextColumn();
			GridTextColumn gridTextColumn25 = new GridTextColumn();
			GridTextColumn gridTextColumn26 = new GridTextColumn();
			GridTextColumn gridTextColumn27 = new GridTextColumn();
			SfDataGrid sfDataGrid6 = new SfDataGrid();
			StackLayout stackLayout6 = new StackLayout();
			ContentPage contentPage6 = new ContentPage();
			NameScope value = new NameScope();
			NameScope.SetNameScope(this, value);
			this.SetValue(ViewModelLocator.AutowireViewModelProperty, new bool?(true));
			this.SetValue(Page.TitleProperty, "统计");
			contentPage.SetValue(Page.TitleProperty, "捞船");
			stackLayout.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout.SetValue(View.VerticalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension.Path = "StatNewShip";
			BindingBase binding = ((IMarkupExtension<BindingBase>)bindingExtension).ProvideValue(null);
			sfDataGrid.SetBinding(SfDataGrid.ItemsSourceProperty, binding);
			sfDataGrid.SetValue(SfDataGrid.AutoGenerateColumnsProperty, false);
			sfDataGrid.SetValue(SfDataGrid.AllowSortingProperty, true);
			sfDataGrid.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			sfDataGrid.SetValue(SfDataGrid.RowHeightProperty, 30.0);
			gridTextColumn.SetValue(GridColumn.MappingNameProperty, "Node");
			gridTextColumn.SetValue(GridColumn.HeaderTextProperty, "编号");
			gridTextColumn.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn);
			gridTextColumn2.SetValue(GridColumn.MappingNameProperty, "Flag");
			gridTextColumn2.SetValue(GridColumn.HeaderTextProperty, "名称");
			gridTextColumn2.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn2);
			gridTextColumn3.SetValue(GridColumn.MappingNameProperty, "Name");
			gridTextColumn3.SetValue(GridColumn.HeaderTextProperty, "船名");
			gridTextColumn3.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Star);
			sfDataGrid.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn3);
			gridTextColumn4.SetValue(GridColumn.MappingNameProperty, "Count");
			gridTextColumn4.SetValue(GridColumn.HeaderTextProperty, "数量");
			gridTextColumn4.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn4);
			stackLayout.Children.Add(sfDataGrid);
			contentPage.SetValue(ContentPage.ContentProperty, stackLayout);
			this.Children.Add(contentPage);
			contentPage2.SetValue(Page.TitleProperty, "大建");
			stackLayout2.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout2.SetValue(View.VerticalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension2.Path = "StatBuild";
			BindingBase binding2 = ((IMarkupExtension<BindingBase>)bindingExtension2).ProvideValue(null);
			sfDataGrid2.SetBinding(SfDataGrid.ItemsSourceProperty, binding2);
			sfDataGrid2.SetValue(SfDataGrid.AutoGenerateColumnsProperty, false);
			sfDataGrid2.SetValue(SfDataGrid.AllowSortingProperty, true);
			sfDataGrid2.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			sfDataGrid2.SetValue(SfDataGrid.RowHeightProperty, 30.0);
			gridTextColumn5.SetValue(GridColumn.MappingNameProperty, "Name");
			gridTextColumn5.SetValue(GridColumn.HeaderTextProperty, "船名");
			gridTextColumn5.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Star);
			sfDataGrid2.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn5);
			gridTextColumn6.SetValue(GridColumn.MappingNameProperty, "Count");
			gridTextColumn6.SetValue(GridColumn.HeaderTextProperty, "数量");
			gridTextColumn6.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid2.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn6);
			stackLayout2.Children.Add(sfDataGrid2);
			contentPage2.SetValue(ContentPage.ContentProperty, stackLayout2);
			this.Children.Add(contentPage2);
			contentPage3.SetValue(Page.TitleProperty, "装备");
			stackLayout3.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout3.SetValue(View.VerticalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension3.Path = "StatEquipment";
			BindingBase binding3 = ((IMarkupExtension<BindingBase>)bindingExtension3).ProvideValue(null);
			sfDataGrid3.SetBinding(SfDataGrid.ItemsSourceProperty, binding3);
			sfDataGrid3.SetValue(SfDataGrid.AutoGenerateColumnsProperty, false);
			sfDataGrid3.SetValue(SfDataGrid.AllowSortingProperty, true);
			sfDataGrid3.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			sfDataGrid3.SetValue(SfDataGrid.RowHeightProperty, 30.0);
			gridTextColumn7.SetValue(GridColumn.MappingNameProperty, "Name");
			gridTextColumn7.SetValue(GridColumn.HeaderTextProperty, "名称");
			gridTextColumn7.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Star);
			sfDataGrid3.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn7);
			gridTextColumn8.SetValue(GridColumn.MappingNameProperty, "Count");
			gridTextColumn8.SetValue(GridColumn.HeaderTextProperty, "数量");
			gridTextColumn8.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid3.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn8);
			stackLayout3.Children.Add(sfDataGrid3);
			contentPage3.SetValue(ContentPage.ContentProperty, stackLayout3);
			this.Children.Add(contentPage3);
			contentPage4.SetValue(Page.TitleProperty, "迂回");
			stackLayout4.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout4.SetValue(View.VerticalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension4.Path = "StatSkipWar";
			BindingBase binding4 = ((IMarkupExtension<BindingBase>)bindingExtension4).ProvideValue(null);
			sfDataGrid4.SetBinding(SfDataGrid.ItemsSourceProperty, binding4);
			sfDataGrid4.SetValue(SfDataGrid.AutoGenerateColumnsProperty, false);
			sfDataGrid4.SetValue(SfDataGrid.AllowSortingProperty, true);
			sfDataGrid4.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			sfDataGrid4.SetValue(SfDataGrid.RowHeightProperty, 30.0);
			gridTextColumn9.SetValue(GridColumn.MappingNameProperty, "Node");
			gridTextColumn9.SetValue(GridColumn.HeaderTextProperty, "编号");
			gridTextColumn9.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid4.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn9);
			gridTextColumn10.SetValue(GridColumn.MappingNameProperty, "Flag");
			gridTextColumn10.SetValue(GridColumn.HeaderTextProperty, "名称");
			gridTextColumn10.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Star);
			sfDataGrid4.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn10);
			gridTextColumn11.SetValue(GridColumn.MappingNameProperty, "SuccessRate");
			gridTextColumn11.SetValue(GridColumn.HeaderTextProperty, "成功率");
			gridTextColumn11.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid4.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn11);
			gridTextColumn12.SetValue(GridColumn.MappingNameProperty, "UnSuccessRate");
			gridTextColumn12.SetValue(GridColumn.HeaderTextProperty, "失败率");
			gridTextColumn12.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid4.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn12);
			stackLayout4.Children.Add(sfDataGrid4);
			contentPage4.SetValue(ContentPage.ContentProperty, stackLayout4);
			this.Children.Add(contentPage4);
			contentPage5.SetValue(Page.TitleProperty, "敌舰");
			stackLayout5.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout5.SetValue(View.VerticalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension5.Path = "FoundEnemyStats";
			BindingBase binding5 = ((IMarkupExtension<BindingBase>)bindingExtension5).ProvideValue(null);
			sfDataGrid5.SetBinding(SfDataGrid.ItemsSourceProperty, binding5);
			sfDataGrid5.SetValue(SfDataGrid.AutoGenerateColumnsProperty, false);
			sfDataGrid5.SetValue(SfDataGrid.AllowSortingProperty, true);
			sfDataGrid5.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			sfDataGrid5.SetValue(SfDataGrid.RowHeightProperty, 30.0);
			gridTextColumn13.SetValue(GridColumn.MappingNameProperty, "Node");
			gridTextColumn13.SetValue(GridColumn.HeaderTextProperty, "编号");
			gridTextColumn13.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid5.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn13);
			gridTextColumn14.SetValue(GridColumn.MappingNameProperty, "Flag");
			gridTextColumn14.SetValue(GridColumn.HeaderTextProperty, "名称");
			gridTextColumn14.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid5.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn14);
			gridTextColumn15.SetValue(GridColumn.MappingNameProperty, "Fleet");
			gridTextColumn15.SetValue(GridColumn.HeaderTextProperty, "敌舰阵容");
			gridTextColumn15.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Star);
			sfDataGrid5.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn15);
			gridTextColumn16.SetValue(GridColumn.MappingNameProperty, "Count");
			gridTextColumn16.SetValue(GridColumn.HeaderTextProperty, "数量");
			gridTextColumn16.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid5.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn16);
			stackLayout5.Children.Add(sfDataGrid5);
			contentPage5.SetValue(ContentPage.ContentProperty, stackLayout5);
			this.Children.Add(contentPage5);
			contentPage6.SetValue(Page.TitleProperty, "舰船");
			stackLayout6.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			stackLayout6.SetValue(View.VerticalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension6.Path = "ShipDealStat";
			BindingBase binding6 = ((IMarkupExtension<BindingBase>)bindingExtension6).ProvideValue(null);
			sfDataGrid6.SetBinding(SfDataGrid.ItemsSourceProperty, binding6);
			sfDataGrid6.SetValue(SfDataGrid.AutoGenerateColumnsProperty, false);
			sfDataGrid6.SetValue(SfDataGrid.AllowSortingProperty, true);
			sfDataGrid6.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			sfDataGrid6.SetValue(SfDataGrid.RowHeightProperty, 30.0);
			gridTextColumn17.SetValue(GridColumn.MappingNameProperty, "title");
			gridTextColumn17.SetValue(GridColumn.HeaderTextProperty, "名称");
			gridTextColumn17.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn17);
			gridTextColumn18.SetValue(GridColumn.MappingNameProperty, "Node");
			gridTextColumn18.SetValue(GridColumn.HeaderTextProperty, "节点");
			gridTextColumn18.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn18);
			gridTextColumn19.SetValue(GridColumn.MappingNameProperty, "AttackHitRate");
			gridTextColumn19.SetValue(GridColumn.HeaderTextProperty, "命中");
			gridTextColumn19.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			gridTextColumn19.SetValue(GridColumn.FormatProperty, "P");
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn19);
			gridTextColumn20.SetValue(GridColumn.MappingNameProperty, "DodgeRate");
			gridTextColumn20.SetValue(GridColumn.HeaderTextProperty, "闪避");
			gridTextColumn20.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			gridTextColumn20.SetValue(GridColumn.FormatProperty, "P");
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn20);
			gridTextColumn21.SetValue(GridColumn.MappingNameProperty, "AttackNum");
			gridTextColumn21.SetValue(GridColumn.HeaderTextProperty, "攻击");
			gridTextColumn21.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn21);
			gridTextColumn22.SetValue(GridColumn.MappingNameProperty, "AttackMiss");
			gridTextColumn22.SetValue(GridColumn.HeaderTextProperty, "MISS");
			gridTextColumn22.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn22);
			gridTextColumn23.SetValue(GridColumn.MappingNameProperty, "AttackAverage");
			gridTextColumn23.SetValue(GridColumn.HeaderTextProperty, "平均伤害");
			gridTextColumn23.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			gridTextColumn23.SetValue(GridColumn.FormatProperty, "F2");
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn23);
			gridTextColumn24.SetValue(GridColumn.MappingNameProperty, "BeAttackNum");
			gridTextColumn24.SetValue(GridColumn.HeaderTextProperty, "被打");
			gridTextColumn24.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn24);
			gridTextColumn25.SetValue(GridColumn.MappingNameProperty, "Dodge");
			gridTextColumn25.SetValue(GridColumn.HeaderTextProperty, "闪避");
			gridTextColumn25.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn25);
			gridTextColumn26.SetValue(GridColumn.MappingNameProperty, "AttackDamge");
			gridTextColumn26.SetValue(GridColumn.HeaderTextProperty, "攻击伤害");
			gridTextColumn26.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn26);
			gridTextColumn27.SetValue(GridColumn.MappingNameProperty, "BeAttackDamge");
			gridTextColumn27.SetValue(GridColumn.HeaderTextProperty, "受到伤害");
			gridTextColumn27.SetValue(GridColumn.ColumnSizerProperty, ColumnSizer.Auto);
			sfDataGrid6.GetValue(SfDataGrid.ColumnsProperty).Add(gridTextColumn27);
			stackLayout6.Children.Add(sfDataGrid6);
			contentPage6.SetValue(ContentPage.ContentProperty, stackLayout6);
			this.Children.Add(contentPage6);
		}

		// Token: 0x06000059 RID: 89 RVA: 0x00006F54 File Offset: 0x00005154
		private void __InitComponentRuntime()
		{
			this.LoadFromXaml(typeof(Statistics));
		}
	}
}
